Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

[SDK-3801] feat: skip param for usePresence and useChannel #81

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

owenpearson
Copy link
Contributor

@owenpearson owenpearson commented Aug 25, 2023

Resolves #76, #4

It wasn't straightforward to test changing the value of the skip param in unit tests but I've added a toggle to the sample app which demonstrates that the behaviour here is correct (basically changing skip to a truthy value will be as if the hook was unmounted and changing it back to falsy will be as if it is mounted again)

Jira link: SDK-3801

@owenpearson owenpearson requested review from stmoreau and ttypic August 25, 2023 16:24
@stmoreau
Copy link
Contributor

Nice one!! LGTM!

@owenpearson owenpearson merged commit f507c3e into integration/v3 Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants